<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>文创汇-支付中心</title>
<#include "/WEB-INF/comm/core.html">
<link rel="stylesheet"
	href="${request.contextPath}/res/assets/css/platform.css">
<#include "/WEB-INF/comm/validate.html">
<script type="text/javascript"
	src="${request.contextPath}/res/js/base/jquery.md5.js"></script>
<script src="${request.contextPath}/res/js/elect-pay.js"
	type="text/javascript"></script>
</head>
<body>
	<!-- header begin -->
	<#include "/WEB-INF/comm/header-pay.html">
	<!-- header end -->

	<!-- nav begin -->
	<div class="nav">
		<div class="yk-grid-col1 cleafix">
			<div class="logo2">
				<a href="${map.PC_URL!}"><img
					src="${map.PC_URL!}/res/assets/images/default/logo.jpg" alt=""></a>
				<span>支付中心</span>
			</div>
		</div>
	</div>
	<!-- nav end -->

	<!-- content begin -->
	<div class="content">
		<div class="zf">
			<div class="yk-grid-col1">
				<div class="public-box">
					<div class="title clearfix">
						<span>文创汇投资项目-${map.p.projectName!}</span>
					</div>
					<div class="xm-nr clearfix">
						<span>订单号：${map.order.dealno!}</span>
						<p>
							应付金额：<i>${map.amount!}元</i>
						</p>
					</div>
				</div>
				<div class="public-box mb290">
					<div class="title clearfix">
						<span>电子支付</span>
						<p>
							应付金额：<i>${map.amount!}元</i>
						</p>
					</div>
					<div class="zf-xq">
						<div class="bank">
							<h1>重庆农村商业银行</h1>
							<p class="card">
								**** **** **** ${map.pay.ecard_no?substring(map.pay.ecard_no?length-4,map.pay.ecard_no?length)}<span>
								<#if map.pay.bank_id==33>
								<i>储蓄卡</i>
								<#else>
								<i>电子帐号</i>
								</#if>
								</span>
							</p>
							<p>
								账户余额：<i>${map.availableBalance!}元</i>
							</p>
						</div>
					</div>
					<form class="form" id="form" method="post">
					<input type="hidden" name="dealno" id="dealno" value="${map.order.dealno!}">
					<input type="hidden" name="p2p_user_id" id="p2p_user_id" value="${map.order.p2pUser_id!}">
					<input type="hidden" name="p2p_project_id" id="p2p_project_id" value="${map.p.id!}">
					<div class="zf-sr">
						<dl>
							<dt>短信验证码：</dt>
							<dd>
								<input type="text" id="captcha" name="captcha">
								<input type="hidden" name="seqCode" id="seqCode">
								<a href="javascript:void(0)" class="yz bky" id="sendRegisterCode">获取验证码</a>
								<p id="captcha_msg" style="display: none;">验证码已发送到手机 ${map.info.mobile?substring(0,3)}*****${map.info.mobile?substring(8,11)}，请勿泄漏。</p>
							</dd>
							<dd class="infor" style="top: 60px;">
								<span class="validate-msg">错误错误</span>
							</dd>
						</dl>
						<dl>
							<dt>本站支付密码：</dt>
							<dd>
								<input type="password" name="password" id="password">
							</dd>
							<dd class="infor">
								<span class="validate-msg">错误错误</span>
							</dd>
						</dl>
						<#if map.isBalance>
						<input type="submit" id="submit" value="立即支付" class="blue-btn">
						<#else>
							<input type="button" value="帐户余额不足" class="blue-btn" style="background-color: #bbb;">
						</#if>
					</div>
					</form>
				</div>
			</div>
		</div>
	</div>
	<!-- content end -->
	<!-- footer begin -->
	<#include "/WEB-INF/comm/footer.html">
	<!-- footer end -->
	<#include "/WEB-INF/comm/pop.html">
</body>
</html>